package com.tianjipms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianjipms.dto.UserRepairDTO;

import com.tianjipms.entity.Repair;
import com.tianjipms.utils.Result;

public interface RepairService extends IService<Repair> {
    IPage<Repair> findRepairListByUserIdPage(IPage<Repair> page, Long userId);
    IPage<Repair> findRepairListByServiceIdPage(IPage<Repair> page, Long serviceId);
    Result updateByRepair(Repair repair);
    Result updateServiceTimeByRepair(Repair repair);
}
